﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MPosters.Models
{
    public class Poster
    {
        public int BoardId { get; set; }
        public int PosterId { get; set; }
        public string Title{get; set;}
        [DataType(DataType.MultilineText)]
        [AllowHtml]
        public string Content { get; set; }
        public DateTime PublishDate { get; set; }
        public Board Board { get; set; }
        public string PosterImgUrl { get; set; }
    }
}